package com.xxmw.transaction.model.app;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Getter
@Setter
@TableName(value = "hb_tx_pair")
public class HuoBiTxPair {

	@TableId(type = IdType.AUTO)
	private Long id;
	
	private Long seqId;
	
	/**
	 * 交易币种对(btcusdt)
	 */
	private String symbol;
	
	/**
	 * 买一价
	 */
	private BigDecimal bid;
	
	/**
	 * 买一量
	 */
	private BigDecimal bidSize;
	
	/**
	 * 卖一价
	 */
	private BigDecimal ask;
	
	/**
	 * 卖一量
	 */
	private BigDecimal askSize;
	
	/**
	 * 盘口更新时间
	 */
	private Date quoteTime;
	
	/**
	 * 创建时间
	 */
	private Date created;
}
